package com.balabala.gym_goods.service;

import com.balabala.gym_goods.pojo.dto.CoachScheduleDto;
import com.balabala.gym_goods.pojo.dto.ScheduleAddDto;
import com.balabala.gym_goods.pojo.entity.CoachSchedule;
import com.balabala.gym_goods.pojo.vo.CourseAndCoachVo;
import com.balabala.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

import java.util.List;

/**
 * @author fsj
 * @date 2023/5/5 18:18
 */
public interface CoachScheduleService extends IService<CoachSchedule> {

    Result addCoachSchedule(CoachScheduleDto coachScheduleDto);

    Boolean updateById(CoachScheduleDto coachScheduleDto);

    boolean addSchedule(ScheduleAddDto scheduleAddDto);


    List<Integer> findAllTimeById(Long id);

    List<CourseAndCoachVo> findCourseAndCoach();

}
